package com.pyf.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author pengyifeng
 * @version 5.0
 * @ClassName DemoController.java
 * @Description TODO
 * @createTime 2021年05月10日 17:03:00
 */
@RestController
public class DemoController {

    @GetMapping("test")
    public String testJacob(@RequestParam String text){
        Jacobtest.textToSpeech(text);
        return "success";
    }

}
